home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
This Disc Bytes!
/
Power Computing - The Disc 2 - This Disc Bytes.ISO
/
mac
/
CodeWarrior 7 Lite for 68K
/
MacOS Examples
/
PowerPlant PPob Demo
/
PPobDemo.r
< prev
next >
Wrap
Text File
|
1994-06-16
|
4KB
|
179 lines
#include $$Shell("RIncludes") "PowerPlant.r"
resource 'PPob' (2000) { {
ObjectData { Window {
2000, regular,
hasCloseBox, hasTitleBar, noResize, noSizeBox, noZoom, hasShowNew,
enabled, hasTarget, noGetSelectClick, noHideOnSuspend, noDelaySelect,
hasEraseOnUpdate,
100, 100, screenSize, screenSize, screenSize, screenSize, 0
} },
BeginSubs {},
ObjectData { Caption {
2001, {250, 16}, visible, disabled,
unbound, unbound, unbound, unbound,
6, 6, 0, defaultSuperView,
"EditFields and ListBox with TabGroup", 130
} },
ObjectData { TabGroup {} },
BeginSubs {},
ObjectData { EditField {
2011, {100, 20}, visible, enabled,
unbound, unbound, unbound, unbound,
10, 25, 0, defaultSuperView,
"One", 128, 8, hasBox, noWordWrap, printingCharFilter
} },
ClassAlias { 'MyEd' },
ObjectData { EditField {
2012, {100, 20}, visible, enabled,
unbound, unbound, unbound, unbound,
10, 49, 0, defaultSuperView,
"ClassAlias", 128, 12, hasBox, noWordWrap, printingCharFilter
} },
ObjectData { EditField {
2013, {100, 36}, visible, enabled,
unbound, unbound, unbound, unbound,
10, 73, 0, defaultSuperView,
"This one word wraps", 128, 64, hasBox, hasWordWrap, printingCharFilter
} },
ObjectData { ListBox {
2014, {150, 82}, visible, enabled,
unbound, unbound, unbound, unbound,
150, 25, 0, defaultSuperView,
noHorizScroll, hasVertScroll, noGrowBox, hasFocusBox,
0, 128, 0,
{"Alpha", "Beta", "Gamma", "Delta", "Epsilon", "Zeta", "Eta"}
} },
EndSubs {},
ObjectData { StdRadioButton {
2021, {100, 16}, visible, enabled,
unbound, unbound, unbound, unbound,
10, 150, 0, defaultSuperView,
0, unchecked, 130, "Radio One", 0
} },
ObjectData { StdRadioButton {
2022, {100, 16}, visible, enabled,
unbound, unbound, unbound, unbound,
10, 170, 0, defaultSuperView,
0, checked, useSystemFont, "Radio Two", 0
} },
ObjectData { StdRadioButton {
2023, {100, 16}, visible, enabled,
unbound, unbound, unbound, unbound,
10, 190, 0, defaultSuperView,
0, unchecked, useSystemFont, "Radio Three", 0
} },
ObjectData { RadioGroup {
{2021, 2022, 2023}
} },
ObjectData { StdCheckBox {
2031, {100, 16}, visible, enabled,
unbound, unbound, unbound, unbound,
10, 220, 0, defaultSuperView,
0, unchecked, useSystemFont, "CheckBox", 0
} },
ObjectData { StdButton {
2033, {100, 16}, visible, enabled,
unbound, unbound, unbound, unbound,
10, 250, 0, defaultSuperView,
0, 130, "StdButton", 0
} },
ObjectData { StdButton {
2034, {59, 20}, visible, enabled,
unbound, unbound, unbound, unbound,
10, 274, 0, defaultSuperView,
0, useSystemFont, "OK", 0
} },
ObjectData { StdPopupMenu {
2041, {250, 20}, visible, enabled,
unbound, unbound, unbound, unbound,
10, 305, 0, defaultSuperView,
0, 255, 150, 72, defaultPopup, useSystemFont, "Speed:", 0, 3
} },
ObjectData { StdPopupMenu {
2042, {250, 20}, visible, enabled,
unbound, unbound, unbound, unbound,
10, 330, 0, defaultSuperView,
0, 0, 800, 30, addResource, 130, "Font:", 'FONT', 1
} },
ObjectData { Button {
2043, {32, 32}, visible, enabled,
unbound, unbound, unbound, unbound,
20, 370, 0, defaultSuperView,
0, 'ICN#', 3001, 3002
} },
ObjectData { Scroller {
2050, {200, 120}, visible, enabled,
bound, bound, bound, bound,
350, 10, 0, defaultSuperView,
0, 0, 0, 0, 0, 0, noReconcileOverhang,
36, 15, 0, 15, 2051
} },
BeginSubs {},
ObjectData { TextEdit {
2051, {183, 103}, visible, enabled,
bound, bound, bound, bound,
1, 1, 0, defaultSuperView,
0, 0, 0, 0, 0, 0, noReconcileOverhang,
noMultiStyle, noEdit, noSelect, hasWordWrap,
131, 128
} },
EndSubs {},
ObjectData { Scroller {
2060, {200, 160}, visible, enabled,
bound, bound, bound, bound,
350, 160, 0, defaultSuperView,
0, 0, 0, 0, 0, 0, noReconcileOverhang,
0, 15, 0, 15, 2061
} },
BeginSubs {},
ObjectData { Picture {
2061, {183, 143}, visible, enabled,
bound, bound, bound, bound,
1, 1, 0, defaultSuperView,
0, 0, 10, 20, 1, 1, noReconcileOverhang,
128
} },
EndSubs {},
ObjectData { Table {
2070, {200, 60}, visible, enabled,
bound, bound, bound, bound,
350, 350, 0, defaultSuperView,
0, 0, 0, 0, 20, 50, noReconcileOverhang,
3, 4, 20, 50, 0
} },
EndSubs {}
} };